using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace JVLMRP 
{
    public class MRPDetailsImport
    {
        int detailsimportid;
        string masterimportcode;
        string productcode;
        float quantity;
        string notes;

        public MRPDetailsImport()
        {

        }

        public virtual int Detailsimportid
        {
            get { return detailsimportid; }
            set { detailsimportid = value; }
        }

        public virtual string Masterimportcode
        {
            get { return masterimportcode; }
            set { masterimportcode = value; }
        }

        public virtual string Productcode
        {
            get { return productcode; }
            set { productcode = value; }
        }

        public virtual float Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }

        public virtual string Notes
        {
            get { return notes; }
            set { notes = value; }
        }

        public override string ToString()
        {
            String s = "";
            if (detailsimportid != null)
                s += "detailsimportid : " + detailsimportid.ToString() + "\n";
            else
                s += "detailsimportid : null\n";
            if (masterimportcode != null)
                s += "masterimportcode : " + masterimportcode.ToString() + "\n";
            else
                s += "masterimportcode : null\n";
            if (productcode != null)
                s += "productcode : " + productcode.ToString() + "\n";
            else
                s += "productcode : null\n";
            if (quantity != null)
                s += "quantity : " + quantity.ToString() + "\n";
            else
                s += "quantity : null\n";
            if (notes != null)
                s += "notes : " + notes.ToString() + "\n";
            else
                s += "notes : null\n";
            return s;
        }
    }
}
